home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / PowerPlant / Everything / DModalCheckboxesData.h < prev    next >
Encoding:
Text File  |  1998-10-11  |  1.5 KB  |  77 lines  |  [TEXT/CWIE]

  1. // DModalCheckboxesData -- data class for Everything
  2.  
  3. #pragma once
  4.  
  5. #include "AMDataDef.h"
  6.  
  7. class LFileStream;
  8.  
  9.  
  10. const long    idStandard4        = 'Sta4';
  11. const long    idXx2        = 'Xx2 ';
  12. const long    idLR5        = 'LR5 ';
  13. const long    idLR6        = 'LR6 ';
  14. const long    idLR7        = 'LR7 ';
  15. const long    idLR8        = 'LR8 ';
  16. const long    idCheckbox3        = 'Che3';
  17. const long    idCheckbox4        = 'Che4';
  18. const long    idNext3        = 'Nex3';
  19. const long    idNext4        = 'Nex4';
  20.  
  21.  
  22. //----------
  23. class DModalCheckboxesData : public AMDataDef {
  24. public:
  25.                 DModalCheckboxesData ();
  26.     virtual        ~DModalCheckboxesData ();
  27.  
  28. public:
  29.     void        CopyFrom        (DModalCheckboxesData*        inOther);
  30.     void        ReadFromFile    (LFileStream*        inFile);
  31.     void        WriteToFile        (LFileStream*        inFile);
  32.  
  33. public:        // accessors
  34.     Boolean        GetStandard4 () const;
  35.     void        SetStandard4    (Boolean        inValue);
  36.  
  37.     Boolean        GetXx2 () const;
  38.     void        SetXx2    (Boolean        inValue);
  39.  
  40.     Boolean        GetLR5 () const;
  41.     void        SetLR5    (Boolean        inValue);
  42.  
  43.     Boolean        GetLR6 () const;
  44.     void        SetLR6    (Boolean        inValue);
  45.  
  46.     Boolean        GetLR7 () const;
  47.     void        SetLR7    (Boolean        inValue);
  48.  
  49.     Boolean        GetLR8 () const;
  50.     void        SetLR8    (Boolean        inValue);
  51.  
  52.     Boolean        GetCheckbox3 () const;
  53.     void        SetCheckbox3    (Boolean        inValue);
  54.  
  55.     Boolean        GetCheckbox4 () const;
  56.     void        SetCheckbox4    (Boolean        inValue);
  57.  
  58.     Boolean        GetNext3 () const;
  59.     void        SetNext3    (Boolean        inValue);
  60.  
  61.     Boolean        GetNext4 () const;
  62.     void        SetNext4    (Boolean        inValue);
  63.  
  64.  
  65. protected:
  66.     Boolean        mStandard4;
  67.     Boolean        mXx2;
  68.     Boolean        mLR5;
  69.     Boolean        mLR6;
  70.     Boolean        mLR7;
  71.     Boolean        mLR8;
  72.     Boolean        mCheckbox3;
  73.     Boolean        mCheckbox4;
  74.     Boolean        mNext3;
  75.     Boolean        mNext4;
  76. };
  77.